package com.freemalll.merchant.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * 实体类。
 *
 * @author songshixiong
 * @since 2025-05-15
 */
@Data
public class MerAccountLicenseDto implements Serializable {

    @Schema(description = "主键")
    private String acclId;

    @Schema(description = "商户id")
    @NotBlank(message = "商户id不能为空")
    private String merId;

    @Schema(description = "开户名")
    @NotBlank(message = "开户名不能为空")
    private String acclName;

    @Schema(description = "开户账号")
    @NotBlank(message = "开户账号不能为空")
    private String acclBankNo;

    @Schema(description = "开户时间")
    @NotBlank(message = "开户时间不能为空")
    private String acclOpenDate;

    @Schema(description = "法人代表")
    @NotBlank(message = "法人代表不能为空")
    private String acclLegalMan;

    @Schema(description = "开户银行")
    @NotBlank(message = "开户银行不能为空")
    private String acclBankName;

    @Schema(description = "账号编码")
    @NotBlank(message = "账号编码不能为空")
    private String acclCode;

    @Schema(description = "开户许可证图片地址")
    private String acclImage;

    @Schema(description = "证件类型 1.开户许可证 2.基本存款账户信息证明  ")
    @NotNull(message = "证件类型不能为空")
    private Integer acclIdType;


}
